package cn.gameo2o.dao.lcgl;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;
import cn.gameo2o.pojo.O2o_play;
import cn.gameo2o.pojo.O2o_playflow;



public interface LiuChengGuanLiDAO {
	/**
	 * 
	 * @param 根据id查询
	 * @return
	 */
     public O2o_playflow findById(@Param("id")Integer id);
     /**
      * 
      * @param 分页查询
      * @return
      */
     public List<O2o_playflow> find(@Param("playflow") Map<String,Object> params,@Param("first") Integer firstNum, @Param("pageSize")Integer pageSize);
    /**
     * 
     * @param 插入数据
     * @return
     */
     public int save(@Param("play")O2o_play play);
     /**
      * 
      * @param 更新数据
      * @return
      */
    public int update(@Param("play")O2o_play play);
     /**
      * 
      * @param 删除活动流程
      * @return 
      */
     public int Delete(@Param("playid") int playid);
     
     
     public long count(@Param("user")Map<String, Object> param);

}
